﻿@model IEnumerable<KRM.Core.vOrderView_SupplierCommunication>
<table class="table table-bordered table-fix tbl-selected">
    <thead>
        <tr>
            <th>CompanyID</th>
            <th>OrderID</th>
            <th>ConfirmationType</th>
            <th>EmailOrFax</th>
            <th>DateRequested</th>
            <th>CompanyName</th>
            <th>CompanyEmail</th>
            <th>Contact</th>
            <th>CompanyFax</th>
            <th>ShortName</th>
            <th>SendEmail</th>
            <th>SendFax</th>
            <th>Telephone</th>
        </tr>
    </thead>
    <tbody>
        @if (Model != null)
        {
            foreach (var item in Model)
            {
            <tr onclick="suppliercommunicationselected(@item.OrderID,@item.CompanyID)" class="row-hover" >
                <td>@item.CompanyID</td>
                <td>@item.OrderID</td>
                <td>@item.ConfirmationType</td>
                <td>@item.EmailOrFax</td>
                <td>@item.DateRequested</td>
                <td>@item.CompanyName</td>
                <td>@item.CompanyEmail</td>
                <td>@item.Contact</td>
                <td>@item.CompanyFax</td>
                <td>@item.ShortName</td>
                <td>@item.SendEmail</td>
                <td>@item.SendFax</td>
                <td>@item.Telephone</td>
            </tr>
            }
        }
    </tbody>
</table>
